package com.example.demo.repository;

import com.example.demo.model.Nutritionalvalue;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface NutritionalValueRepository extends JpaRepository<Nutritionalvalue, Long> {
    // 自定义查询方法
    Nutritionalvalue findByName(String name);
}
